from abc import ABC, abstractmethod
from fulltext.Document import Document

class BaseSinker(ABC):
    """Base class for document sinking operations"""
    
    @abstractmethod
    def index_document(self, document: Document) -> bool:
        """Index document into storage system
        
        Args:
            document (Document): Document to be indexed
            
        Returns:
            bool: True if indexing successful, False otherwise
        """
        pass
